package ${package.Service}

import com.lgl.common.Pager
import com.lgl.common.service.BaseService
import ${package.Entity}.${entity}
import java.io.Serializable

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 */
<#if kotlin>
interface ${table.serviceName} : BaseService<${entity}> {
<#else>
public interface ${table.serviceName} extends BaseService<${entity}> {
</#if>

    fun detail(idx: Serializable): ${entity}?

    fun getList(pager: Pager<${entity}>, value: ${entity}): Pager<${entity}>

    fun getList(value: ${entity}): List<${entity}>

    fun delete(idx: Long)

    fun fill(value: ${entity}?): ${entity}?

}
